<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>NB文章系统管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="zh-CN">
<script type="text/javascript">
function menuFormat (title, link) {
	this.title	= title,
	this.link	= link
}

var mainMenu = new Array();
</script>
<script type="text/javascript" src="./admin_menu.asp"></script>
<script type="text/javascript" src="language_files/message.js"></script>
<script type="text/javascript" src="language_files/tabTitle.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
<script type="text/javascript" src="../js/manager.js"></script>
<script type="text/javascript" src="../js/objajax.js"></script>
<script type="text/javascript" src="../js/objtabcenter.js"></script>
<script type="text/javascript" src="../js/objtable.js"></script>
<script type="text/javascript" src="../js/objform.js"></script>
<script type="text/javascript" src="../js/objformedit.js"></script>
<script type="text/javascript" src="../plugins/tinymce_editor/tiny_mce.js"></script>
<script type="text/javascript" src="../js/objvalidator.js" defer="true"></script>
<script type="text/javascript" src="../js/jsdate.js" defer="true"></script>
<link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" />
</head>
<body id="center">

<div id="divLoading" style="display: none;"><img src="images/loading_r.gif" alt="" /></div>

<div id="head">
	<div class="left" id="NBArticlePlacard"></div>

	<div class="left" id="menu"></div>
</div>
<div class="separator"></div>
	<div id="subMenu"></div>

<div class="separator"></div>

<div id="divDialog" style="display: none;"><span class="right" id="dialogClose" onclick="javascript: $('divDialog').style.display = 'none';">X</span><span id="dialogBox"></span></div>

<div style="width: 99%;MARGIN-RIGHT: auto;MARGIN-LEFT: auto;MARGIN-top: 5px;">
	<div class="nav" id="tabBox"><img src="images/plus.gif" width="18" class="right" style="cursor:pointer;" onclick="javascript: newTab();" alt="新开标签" /><span class="abg" id="Tab_0" onclick="javascript: switchTab(0);" title="首页" userData="1" blank="0">首页</span></div>
	<div id="contentDiv"></div>
</div>

<script type="text/javascript">
if (mainMenu.length == 0)
{
	top.location.href = "./";
}

var FormEdit = new formEditObject();
var objForm = new formObject();
var objTable = new tableObject();

var tabIndex = 1;
var rTab = ",";
var openNewTab = false;
var currentTab = 0;
var tabCache = new Array();
var tabScriptCache = new Array();
var tabFormID = new Array();

var editDateVal = "";
objForm.formName = "form1";

$("divLoading").innerHTML += "&nbsp;" + loadingMsg;

function loadMain(obj){
	var regexp1 = /<script(.|\n)*?>(.|\n|\r\n)*?<\/script>/ig;

	var sContent = obj.returnMessageText;
	var returnMessage = sContent.replace(regexp1, "");
	sContent = sContent.match(regexp1);

	if (document.getElementById("contentDiv"))
	{
		$("contentDiv").innerHTML = returnMessage;
		tabCache[0] = returnMessage;
		executeScript(sContent);
	}
}

function showSubMenu (iMenu) {
	var subMenu = mainMenu[iMenu].link;
	$("subMenu").innerHTML = "";

	for (var i = 0;i < subMenu.length ; i++)
	{
		$("subMenu").innerHTML += "&nbsp;[" + subMenu[i] + "]&nbsp;&nbsp;&nbsp;";
	}
}

for (var i = 0; i < mainMenu.length ; i++ )
{
	$("menu").innerHTML += "<a href='javascript: vod();' class='title' onclick='javascript: showSubMenu(" + i + ");'>" + mainMenu[i].title + "</a>";
}

ajaxGetDate("./templates/admin_main.htm", loadMain);
</script>

<script type="text/javascript" src="http://nbarticle.com/plaCard.js"></script>

</body>
</html>
